//2009/08/15 17:09:49
#include <string>
#include <vector>
#include <map>
#include <queue>
#include <sstream>
#include <algorithm>

using namespace std;

class StringCompare
{
public:
    int simpleDifference(string a, string b)
    {
		int count = 0;
		for(int i=0; i<min(a.size(), b.size()); i++)
		{
			if(a[i] == b[i]) count ++;
		}
		return count;
    }
};
